FROM registry.cn-hangzhou.aliyuncs.com/dockerhub_mirror/mysql-server:8.0.32

MAINTAINER cloud(wangiegie@gmail.com)

ENV TZ=Asia/Shanghai
ENV LANG C.UTF-8

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY ./1schema.sql /docker-entrypoint-initdb.d

COPY ./2cloudx.sql /docker-entrypoint-initdb.d

COPY ./3cloudx_flow.sql /docker-entrypoint-initdb.d

COPY ./4cloudx_job.sql /docker-entrypoint-initdb.d

COPY ./5cloudx_mp.sql /docker-entrypoint-initdb.d

COPY ./6cloudx_config.sql /docker-entrypoint-initdb.d

COPY ./7cloudx_pay.sql /docker-entrypoint-initdb.d

COPY ./8cloudx_codegen.sql /docker-entrypoint-initdb.d

COPY ./99cloudx_bi.sql /docker-entrypoint-initdb.d

COPY ./999cloudx_app.sql /docker-entrypoint-initdb.d
